package com.financialsharing.service;

import com.financialsharing.pojo.experiment.Experiment;
import com.financialsharing.pojo.experiment.ExperimentReportVo;

import java.util.List;

/**
 * @author Administrator
 */
public interface ExperimentService {

    /**
     * 添加实验报告
     * @param experiment
     * @return
     */
    public boolean insertExperiment(Experiment experiment);

    /**
     * 修改实验报告
     * @param experiment
     * @return
     */
    public boolean updateExperiment(Experiment experiment);

    /**
     * 实验报告列表
     * @param userId
     * @param message 关键字
     * @return
     */
    public List<ExperimentReportVo> getAllReport(Integer userId, String message);
}
